package com.ktgj.train.mapper;

import java.util.List;
import com.ktgj.train.domain.TrainPayRefundrecord;

/**
 * 支付退款记录Mapper接口
 * 
 * @author ruoyi
 * @date 2021-11-29
 */
public interface TrainPayRefundrecordMapper 
{
    /**
     * 查询支付退款记录
     * 
     * @param refundrecordid 支付退款记录ID
     * @return 支付退款记录
     */
    public TrainPayRefundrecord selectTrainPayRefundrecordById(Long refundrecordid);

    /**
     * 查询支付退款记录列表
     * 
     * @param trainPayRefundrecord 支付退款记录
     * @return 支付退款记录集合
     */
    public List<TrainPayRefundrecord> selectTrainPayRefundrecordList(TrainPayRefundrecord trainPayRefundrecord);

    /**
     * 新增支付退款记录
     * 
     * @param trainPayRefundrecord 支付退款记录
     * @return 结果
     */
    public int insertTrainPayRefundrecord(TrainPayRefundrecord trainPayRefundrecord);

    /**
     * 修改支付退款记录
     * 
     * @param trainPayRefundrecord 支付退款记录
     * @return 结果
     */
    public int updateTrainPayRefundrecord(TrainPayRefundrecord trainPayRefundrecord);

    /**
     * 删除支付退款记录
     * 
     * @param refundrecordid 支付退款记录ID
     * @return 结果
     */
    public int deleteTrainPayRefundrecordById(Long refundrecordid);

    /**
     * 批量删除支付退款记录
     * 
     * @param refundrecordids 需要删除的数据ID
     * @return 结果
     */
    public int deleteTrainPayRefundrecordByIds(Long[] refundrecordids);
}
